package ee.falcon.xml;

import java.util.HashMap;
import java.util.Map;

public class ProfileInfoList 
{	
	private Map<String, SpecificProfileInfo> specificProfiles = new HashMap<String, SpecificProfileInfo>(); 
	
	private ProfileInfoXMLReader xmlReader = new ProfileInfoXMLReader(this); 
	
	public ProfileInfoList()
	{
		xmlReader.readFromProfileInfoXML();
	
	}
	
	public Map<String, SpecificProfileInfo> getProfileInfoHashMap()
	{
		return this.specificProfiles; 
	}
	
	public ProfileInfoXMLReader getProfileInfoXMLReader()
	{
		return this.xmlReader; 
	}
	
	public void renewData()
	{
		xmlReader.readFromProfileInfoXML(); 
	}
	
	public void deleteProfile()
	{
		
	}
	
}
